package cn.cuilan.client;

import cn.cuilan.client.core.ClientHelper;
import cn.cuilan.client.core.NetClientMessageProcessor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.Resource;

@Slf4j
@SpringBootApplication
public class ClientApplication implements CommandLineRunner {

    @Resource
    private ClientHelper clientHelper;

    @Resource
    private NetClientMessageProcessor netClientMessageProcessor;

    @Override
    public void run(String... args) throws Exception {
    }

    public static void main(String[] args) throws InterruptedException {
//        new ProxyServer().bind(8080);
        SpringApplication.run(ClientApplication.class, args);
    }
}
